﻿using System.Collections.Generic;
using iss.sg4210.se18.team6s.jass.DAL;
using System.ComponentModel.DataAnnotations;
using iss.sg4210.se18.team6s.jass.DAL.DataAccess.Utility;

namespace iss.sg4210.se18.team6s.jass.DAL.DataAccess.MetaData
{
    public class SearchModel
    {
        public object Title { get; set; }
        [IntegerArray(ErrorMessage = "Integer value is required!")]
        public object Experience { get; set; }
        [IntegerArray(ErrorMessage = "Integer value is required!")]
        public object SalaryFrom { get; set; }
        [IntegerArray(ErrorMessage = "Integer value is required!")]
        public object SalaryTo { get; set; }
        public object Company { get; set; }
        public object Skills { get; set; }

        //public IEnumerable<Advertisement> Result { get; set; }
        public IList<Advertisement> Result { get; set; }
    }
}
